package com.cisetech.service.impl;

import java.util.ArrayList;
import java.util.List;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;





import com.cisetech.mapper.bobocai.LUserMapper;
import com.cisetech.service.UserService;
import com.cisetech.vo.bobocai.LUser;

//用户管理逻辑层
@Service
public class UserserviceImpl implements UserService {
	@Autowired
	LUserMapper userMapper;
	static Logger logger = LoggerFactory.getLogger(UserserviceImpl.class); 
	
	//查询用户列表
	@Override
	public List<LUser> findList(LUser user) {
		List<LUser> list = new ArrayList<LUser>();
		try {
			list = userMapper.findList(user);
		} catch (Exception e) {
			logger.debug(e.getLocalizedMessage());
			return list;
		}
		if(user!=null){
			return list;
		}
		return list;
	}
}
